<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2021-11-22
  Time: 11:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>login</title>
    <script>
        if(self!=parent){
            parent.location=self.location;
        }
    </script>
</head>
<body>
<div>
    <img src="image/bookNo1.gif"/>
</div>
<p style="color:red;">
    ${errmsg}${param.errmsg}
</p>
   <form method="post" action="loginServlet">
       <input type="text" name="username" placeholder="用户"/>
       <input type="password" name="password" placeholder="密码"/>
       <input type="submit" value="login"/>
   </form>
</body>
</html>
